
import request from '@/utils/request.js'
//获取影院列表
export const getDetail=()=>{
    return request({
        url:'/gateway?_CITYID_&ticketFlag=1&k=9124648',
        data:{
            xHost:'mall.film-ticket.cinema.list'
        }
    })
}

//获取影院地址
export const getCinemaDetail=(params={cinemaId:1701})=>{
    return request({
        url:'/gateway/?cinemaId='+params.cinemaId+'&k=583838',
        data:{
            xHost:'mall.film-ticket.cinema.info'
        }
    })
}

//获取当前影院的电影详情

export const getFilmsDetail=(params={cinemaId:1701})=>{
    return request({
        url:'/gateway/?cinemaId='+params.cinemaId+'&k=5955029',
        data:{
            xHost:'mall.film-ticket.film.cinema-show-film'
        }
    })
}


//获取当前电影的播放厅日期信息
export const getplayDetail=(params={filmId:4795,cinemaId:4855,data:1570723200})=>{
    return request({
        url:'/gateway/?filmId='+params.filmId+'&cinemaId='+params.cinemaId+'&date='+params.data+'&k=476120',
        data:{
            xHost:'mall.film-ticket.schedule.list'
        }
    })
}

